{OVERALL_HEADER}
<table width="700" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td width="200" valign="top">	
	IF("{LOGGEDIN}"=="0"){<a href="{SITE_URL}signup.php">{LANG_JOIN}</a><br><a href="{SITE_URL}login.php">{LANG_LOGIN}</a><br>{:IF}
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}editprofile.php">{LANG_EDITPROFILE}</a><br>{:IF}
      <a href="{SITE_URL}add_story.php">{LANG_SUBMITS}</a><br>
	IF("{LOGGEDIN}"=="1"){<a href="{SITE_URL}logout.php">{LANG_LOGOUT}</a><br>{:IF}
      <br>
	  <strong>{LANG_CATS}</strong><br>
      <br>

      {LOOP: CATS}
	  IF("{CATS.parent_id}"!="0"){&nbsp;&nbsp;{:IF}
	  <a href="{CATS.cat_url}">{CATS.cat_title}</a><br>
	  {/LOOP: CATS}
	  <br>
    <br></td>
    <td valign="top">   
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	  <tr>
      <td width="25"><a href="{XML_URL}"><img src="{SITE_URL}templates/{TPL_NAME}/images/feed_icon.gif" width="20" height="20" border="0"></a></td>
      <td><span class="pagetitle">{LANG_VIEWALL}</span></td>
	  <td width="350">
	  <div id="tabsB">
	  <ul>
<li IF("{MODE}"=="popular"){id="current"{:IF}><a href="{POPULAR_LINK}"><span>{LANG_POPS}</span></a></li>
<li IF("{MODE}"=="upcoming"){id="current"{:IF}><a href="{UPCOMING_LINK}"><span>{LANG_UPS}</span></a></li>
</ul>
</div>
	  </td>
	  </tr>
	  <tr><td height="1" bgcolor="#dedede"></td><td height="1" bgcolor="#dedede"></td><td height="1" bgcolor="#dedede"></td></tr>
	  </table>
	<br>
    <br> 
    {LANG_NOSTORIES} <br></td>
  </tr>
</table>
IF("{CRON}"=="1"){<img src="{SITE_URL}cron.php?rand={TIMESTAMP}" width="1" height="1" border="0" alt="">{:IF}
{OVERALL_FOOTER}